package io.ken.im.common.codec.constants;

/**
 * @author: ken
 * @description: netty编码器常量
 * @date 2023-12-18
 **/
public class IMCodecConstants {

    public static final String CODEC_IDLE_HANDLER = "idle-handler";

    /**
     * 编码器名称
     */
    public static final String CODEC_ENCODER = "encoder";
    /**
     * 解码器名称
     */
    public static final String CODEC_DECODER = "decoder";

    /**
     * 业务处理handler
     */
    public static final String CODEC_HANDLER = "handler";

    /**
     * websocket http 解码
     */
    public static final String CODEC_HTTP_CODEC = "http-codec";

    /**
     * websocket 聚合器
     */
    public static final String CODEC_AGGREGATOR = "aggregator";

    /**
     * websocket http chunked
     */
    public static final String CODEC_HTTP_CHUNKED = "http-chunked";

    /**
     * websocket 协议解析
     */
    public static final String CODEC_WEB_SOCKET_PROTOCOL_HANDLER = "websocket-protocol-handler";
}
